package com.source.barcodeMachineStatus.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author fengq
 * 这是一个信息展示类 用于存储用户的信息的登录姓名和id，用户姓名
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class UserNameVo implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableField(value = "userId")
    private String userId;

    @ApiModelProperty(value = "登录名")
    @TableField("loginName")
    private String loginName;

    @ApiModelProperty(value = "用户名")
    @TableField("name")
    private String name;
}
